<?xml version="1.0" encoding="UTF-8"?>

<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:t="http://myfaces.apache.org/tomahawk">
    
    <ui:composition template="/pages/user/templates/userAdminTemplate.xhtml">
        <ui:define name="pageTitle">
            <h:outputText value="#{msg['role.confirmdelete.pageTitle']}"/>
        </ui:define>
        
        <ui:define name="centerPane">
            <h:form>
                <h:panelGrid>
                    <h:outputFormat value="#{msg['role.confirmdelete.message']}">
                        <f:param value="#{deleteRoleAction.role.roleName}"/>
                    </h:outputFormat>
                    <h:panelGroup>
                        <h:commandButton value="#{msg['role.delete.label']}" action="#{deleteRoleAction.delete}"/>
                        <h:commandButton value="#{msg['role.cancel.label']}" action="gotoViewRoles"/>
                    </h:panelGroup>
                </h:panelGrid>
                
                <t:inputHidden value="#{deleteRoleAction.roleId}" forceId="true" id="roleId"/>
            </h:form>
        </ui:define>
    </ui:composition>
    
</html>
